package com.spring.dao.myProTest;

import com.spring.VO.User;
import org.springframework.stereotype.Component;

@Component
public interface UserDao {
    User findUser(String username, String password);

    User findByName(String username);

    int createUser(User user);

    User findbyUsername(String name);
}
